import request from '../../util/request.js'

export const postWeixin = (data) => {
  const key = process.env.QIYEWEIXIN_KEY
  return request({
    url: `https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=${key}`,
    method: 'post',
    data
  })
}